<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!-- 增加，更新窗口 -->
<div id="SaveOrUpdateDevWin"
	style="width: 600px; height: 420px; padding: 10px;"
	class="easyui-dialog" title="用户信息"
	data-options="modal:true,closed:true,minimizable:false,collapsible:false,maximizable:false,buttons:'#bb',iconCls:'icon-save',onClose:function(){$('#saveOrUpdateDevForm')[0].reset();} ">
	<form id="saveOrUpdateDevForm" method="post" enctype="multipart/form-data" >
		<input type="hidden" id="saveLx" name="saveLx" class="shurukuangkais" />
		<div class="menu_form_body">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
<%-- 					<td align="center" rowspan="7" colspan="2" width="80"><img onerror="javascript:this.src='${ctx}/images/tupiangsd.png'" src="${ctx}/upload/userpic/000.jpg" id="tpdz" width="80" height="100"></td> --%>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">用户帐号：</td>
					<td align="left" width="150" class="tangchukuangliebiao1"><input
						type="text" id="yhdh" name="yhdh" class="shurukuangkais" /></td>
					<td align="right" class="tangchukuangliebiao1" width="100">用户姓名：</td>
					<td align="left" width="150" class="tangchukuangliebiao1"><input
						type="text" id="xm" name="xm" class="shurukuangkais" /></td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">登录密码：</td>
					<td align="left" width="150" class="tangchukuangliebiao1"><input
						type="password" id="mm" name="mm" class="shurukuangkais" /></td>
					<td align="right" class="tangchukuangliebiao1" width="100">角色类型：</td>
					<td align="left" width="150" class="tangchukuangliebiao1"><input
						id="rid" name="rid" class="easyui-combobox shurukuangkais"
						data-options="
								valueField: 'rid',
						        textField: 'rname',
						        editable:false,
						        panelHeight:150,
						        url: '${ctx}/role/findRoleAll.htm'
							"/>
					</td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">所属部门：</td>
					<td align="left" colspan="3" class="tangchukuangliebiao1">
<!-- 						<input type="text" name="glbm" id="glbm" class="shurukuangkais"> -->
							<input id="glbm" style="width: 440px;" name="glbm" class="easyui-combotree" data-options="url:'${ctx}/department/queryDepartmentTree.htm',method:'post',required:false" >
					</td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">身份证号：</td>
					<td align="left" width="150" class="tangchukuangliebiao1">
						<input type="text" id="sfzmhm" name="sfzmhm" class="shurukuangkais" />
					</td>
					<td align="right" class="tangchukuangliebiao1" width="100">帐号状态：</td>
					<td align="left" width="150" class="tangchukuangliebiao1">
						<input id="zt" name="zt" class="easyui-combobox shurukuangkais"
						data-options="
								valueField: 'id',
						        textField: 'text',
						        editable:false,
						        panelHeight:150,
						        data:[{id:'1',text:'启用'},
									{id:'2',text:'锁定'},
									{id:'3',text:'停用'}]
							" /></td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">帐号有效期：</td>
					<td align="left" width="150" class="tangchukuangliebiao1">
						<input type="text" id="zhyxqStr" name="zhyxqStr" class="easyui-datebox shurukuangkais"  data-options="showSeconds:false,editable:false"/>
					</td>
					<td align="right" class="tangchukuangliebiao1" width="100">密码有效期：</td>
					<td align="left" width="150" class="tangchukuangliebiao1">
						<input type="text" id="mmyxqStr" name="mmyxqStr" class="easyui-datebox shurukuangkais"  data-options="showSeconds:false,editable:false"/>
					</td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">登录IP限制：</td>
					<td align="left" colspan="3" class="tangchukuangliebiao1">
						<input type="text" id="ipks" name="ipks" class="shurukuangkais" style="width: 100px"/>
						&nbsp;-&nbsp;
						<input type="text" id="ipjs" name="ipjs" class="shurukuangkais" style="width: 100px;float: none"/>
 						<span style="font-size: 10px;">例：192.168.1.1-192.168.1.100</span>
					</td>
				</tr>
				<tr>
					<td align="right" width="100" height="40"
						class="tangchukuangliebiao1">用户照片：</td>
					<td align="left" colspan="3" class="tangchukuangliebiao1">
						<div id="userImage" style="display:none;width: 80px;height: 95px;float:left"><img id="yhImage" alt="" src="../upload/userpic/000.jpg" width="80" height="95"></div>
						<div  style="float:left;">
							<div style="float:left; line-height:95px">
								<input type="file" name="upload_zp" id="upload_zp">
								<input type="hidden" name="zp" id="zp">
							</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>
</div>
<div id="bb">
	<a href="javascript:updateDev()" class="easyui-linkbutton">保存</a>
	<a href="javascript:cancelUpdateDev()" class="easyui-linkbutton">取消</a>
</div>

<script type="text/javascript">

</script>